package com.rd.student.jiaji.class1.wangyufang.day0808;

import java.io.File;
import java.io.IOException;
import java.util.Scanner;

public class Player {
    public static void main(String[] args) throws IOException {
        File file = new File("player.txt");
        if(!file.exists()){
            file.createNewFile();
        }
        Scanner scanner = new Scanner(System.in);
        String i = scanner.next();
        System.out.println("球员名"+i);
        if(file.equals(i)){
            System.out.println(file);
        }else{
            System.out.println("不存在该球员，并结束程序");
        }
    }
}
